package com.ha7419x;

import com.ha7419x.config.AppConfig;
import com.ha7419x.service.NameService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

@SpringBootApplication
public class App {

    public static void main(String[] args) {
        /*AnnotationConfigApplicationContext annotationConfigApplicationContext
                = new AnnotationConfigApplicationContext(AppConfig.class);

        NameService nameService = annotationConfigApplicationContext.getBean(NameService.class);
        nameService.getName();*/

        SpringApplication.run(App.class);
    }
}
